package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.AgentBonusRule;
import com.weixing.mall.provider.model.dto.AgentBonusRuleDto;
import com.weixing.mall.provider.api.model.vo.AgentBonusRuleVo;

import java.util.List;

/**
 * <p>
 * 代理商模块-代理商分红规则配置表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface IAgentBonusRuleService extends IService<AgentBonusRule> {

    void save(AgentBonusRuleDto agentBonusRuleDto);

    List<AgentBonusRuleVo> selectListOfPage();

    AgentBonusRule findByOrderType(int value);

    AgentBonusRule selectByRuleName(String ruleName);
}
